package io.dy.model;

import java.util.Arrays;
import java.util.List;

/**
 * @author : dmj
 * @date: 2024/12/18 5:18 下午
 * @description:
 */
public class Order {

    private String areaName;

    private String userId;

    private String orderCode;

    public Order(String areaName, String userId, String orderCode) {
        this.areaName = areaName;
        this.userId = userId;
        this.orderCode = orderCode;
    }

    public Order(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    public static List<Order> initData(){
        return Arrays.asList(
                new Order("上海","dy","00001"),
                new Order("上海","sy","00002"),
                new Order("上海","zm","00003"),
                new Order("上海","fd","00004"),
                new Order("上海","dy","00005"),
                new Order("上海","dy","00006"),
                new Order("上海","sy","00007"),
                new Order("上海","fd","00008"),

                new Order("北京","wsy","00009"),
                new Order("北京","gz","00010"),
                new Order("北京","zx","00011"),
                new Order("北京","csl","00012"),
                new Order("北京","wsy","00013"),
                new Order("北京","wsy","00014"),
                new Order("北京","gz","00015"),
                new Order("北京","csl","00016"),

                new Order("广州","ss","00017"),
                new Order("广州","msq","00018"),
                new Order("广州","gzl","00019"),
                new Order("广州","wr","00020"),
                new Order("广州","wr","00021"),
                new Order("广州","wr","00022"),
                new Order("广州","msq","00023"),
                new Order("广州","ss","00024")
        );
    }
}
